package com.nq.dao.activaity;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nq.activaity.entity.StIntegralTask;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @Description: 积分任务表
 * @Author: jeecg-boot
 * @Date:   2024-11-07
 * @Version: V1.0
 */
public interface StIntegralTaskMapper extends BaseMapper<StIntegralTask> {

    StIntegralTask queryTaskByType(@Param("type") String taskType,@Param("num") BigDecimal num);


    StIntegralTask queryMinByType(@Param("taskType") String taskType);

    StIntegralTask queryMaxByType(@Param("taskType") String taskType);
}
